package com.zls.service;

import com.zls.page.PageResult;
import com.zls.page.QueryPageBean;
import com.zls.pojo.Branch;

import java.util.List;

public interface BranchService {
    PageResult findPage(QueryPageBean queryPageBean);

    List<Branch> findAll();

    int addBranch(Branch branch);

    Branch findByBid(String bid);

    int editBranch(Branch branch);

    int deleteBranch(String bid);

    List<Branch> findByPid(int pid);
}
